
<div class="portlet box green">
	<div class="portlet-title">
		<div class="caption">
			<i class="fa fa-cogs"></i>
			同步数据操作日志
		</div>
		<div class="tools">
			<a href="javascript:;" class="collapse" data-original-title="" title=""> </a>
		</div>
	</div>
	<div class="portlet-body">
		<div class="dataTables_wrapper no-footer">
			<div class="table-scrollable">
				<table class="table table-striped table-bordered table-hover">
					<thead>
						<tr>
							<th>同步组</th>
							<th>同步开始时间</th>
							<th>同步结束时间</th>
							<th>同步类型</th>
							<th>同步状态</th>
							<th class="col-md-2">操作</th>
						</tr>
					</thead>
					<tbody>
						#foreach($item in $logPage.result)
						<tr>
							<td>$!item.groupName</td>
							<td>$!item.syncTime</td>
							<td>$!item.syncFinishTime</td>
							<td>$!item.syncType.name</td>
							<td>
								#if($item.syncFinishTime) 
									#if($item.state)
										成功
									#else
										失败
									#end
								#else
									同步中...
								#end
							</td>
 
							<td>
								<a class="btn green btn-outline btn-sm ajaxify" href="/syncDataLog/show?id=$!item.id&">
									<i class="fa fa-eye"></i>
									查看
								</a>
								
							</td>
						</tr>
						#end
					</tbody>
				</table>
			</div>
			#set($page=$logPage) #set($pageUrl="/syncDataLog/list?pageNo=") #parse("_page.htm")
		</div>
	</div>

</div>
<script src="/assets/scripts/views-date.js" type="text/javascript"></script>